package com.uking.moudle;

import java.io.Serializable;

public class IpInfo implements Serializable {
    private String ip;
    private String port;

    public IpInfo(String ip) {
        this.ip = ip;
    }

    public IpInfo(String ip, String port) {
        this.ip = ip;
        this.port = port;
    }

    public String getIp() {
        return this.ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return this.port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String toString() {
        return this.ip + ":" + this.port;
    }
}
